< previous page page_762 next page >

Page 762
Getting the Latest Service Pack
Before you do too much in Visual Basic 6, make sure youve downloaded the latest Visual Studio Service Pack from the Microsoft Web site. A good place to start to get the latest Service Pack is www.microsoft.com/vbasic. This usually points you to the latest Service Pack for Visual Studio 6.
Installation Instructions
To install the examples for each of the chapters, create a new folder on your hard drive. Download CODE.EXE from the companion Web site (http://www.mcp.com/product_support) to that folder. After its on your hard drive, double-click CODE.EXE to extract it. Under this new folder on your hard drive, youll find several folders, each one relating to those chapters in the book that have examples. Each folder is labeled with the chapter number and a short description of what the examples relate to. Theres usually only one VBP file within each folder for all the examples, so you should be able to load that VBP file with Visual Basic 6 Professional or Enterprise Edition.
Sample Access Database
A Microsoft Access database called Employees.mdb can also be found in this folder. This database contains the tables necessary to run most of the examples in this book.
Upsizing the Database
You can upsize the Employees.mdb file to SQL Server using the Microsoft Access Upsizing Wizard or by using the scripts contained in the Scripts folder.
You can also upsize this database to Oracle or any ODBC-compliant database with the same scripts; however, you might need to modify the scripts somewhat for your particular database. Ive tried to keep the SQL statements as generic as possible, but theyre optimized for SQL Server because thats the system I use most often.
Load the scripts in the following order:
Table.sql Creates the tables for the employee system
Insert.sql Adds the data to the tables
Index.sql Adds some indexes to the tables
This assumes youve already created a database in your server to hold these tables.

 
< previous page page_762 next page >

If you like this book, buy it!